package com.dxtan90.gray.impl;

import com.dxtan90.gray.AbstractGrayMethod;

public class BiggestMethod extends AbstractGrayMethod {
    public BiggestMethod() {
        super("DEAL_BIGGEST");
    }
    @Override
    public int getGrey(int red, int green, int blue) {
        return Math.max(red,Math.max(green,blue));
    }
}
